package com.heisen.file.enums;

import lombok.Data;

/**
 * @author sen
 * @description
 * @date 2024/3/6 10:54
 */
public enum FileStatusEnum {

    /**
     * 文件状态，0待上传，1已上传，2已删除
     */
    UPLOADED(0,"待上传"),
    SUCCESS(1,"已上传"),
    DELETE(2,"已删除")
    ;

    private Integer status;

    private String desc;


    FileStatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public Integer getStatus() {
        return status;
    }


}
